From a0e6b364784273855fba3a56218b4f04e3998bdc Mon Sep 17 00:00:00 2001 From: Cody Russell Date: Sun, 25 May 2008 23:21:40 +0000 Subject: [PATCH] Bug 525461 - Don't invalidate under an input-only child 2008-05-25 Cody Russell Bug 525461 - Don't invalidate under an input-only child * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child): Check that the window is not input-only before invalidating. Report and patch by Owen Taylor. svn path=/trunk/; revision=20165 --- ChangeLog | 8 ++++++++ gdk/x11/gdkgeometry-x11.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index efb803ff29..2fb4ab3c63 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-05-25 Cody Russell + + Bug 525461 - Don't invalidate under an input-only child + + * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child): + Check that the window is not input-only before invalidating. + Report and patch by Owen Taylor. + 2008-05-25 Cody Russell Bug 524110 - Gdk should not assume reparenting WMs when retrieving diff --git a/gdk/x11/gdkgeometry-x11.c b/gdk/x11/gdkgeometry-x11.c index 367f26c59e..74c46eb2bf 100644 --- a/gdk/x11/gdkgeometry-x11.c +++ b/gdk/x11/gdkgeometry-x11.c @@ -731,7 +731,7 @@ _gdk_window_move_resize_child (GdkWindow *window, impl->position_info = new_info; } - if (GDK_WINDOW_IS_MAPPED (obj) && obj->parent) + if (GDK_WINDOW_IS_MAPPED (obj) && obj->parent && !obj->input_only) gdk_window_invalidate_rect ((GdkWindow *)obj->parent, &old_pos, FALSE); } -- 2.30.2